import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import store from './Vuex'
import Cookies from 'js-cookie'
import axios from "./api/fech";

axios.defaults.baseURL = "/api";
//axios.defaults.baseURL = "http://10.51.170.158:10000"
Vue.prototype.$axios = axios;
Vue.use(ElementUI);
Vue.config.productionTip = false
window.$Cookies = Cookies;

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
